package org.jim.server.processor.group;

import org.jim.core.ImChannelContext;
import org.jim.core.packets.pub.pojo.Group;
import org.jim.core.packets.im.group.command.JoinGroupRespCmd;
import org.jim.server.processor.SingleProtocolCmdProcessor;

/**
 * @author ensheng
 */
public interface GroupCmdProcessor extends SingleProtocolCmdProcessor {
    /**
     * 加入群组处理
     * @param joinGroup
     * @param imChannelContext
     * @returnh
     */
    JoinGroupRespCmd join(Group joinGroup, ImChannelContext imChannelContext);
}
